<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8">
    <title>添加出行记录</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="resources/layui/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="resources/layui/css/public.css" media="all" />
    <style>
        input:disabled{
            background-color: white!important;
        }
    </style>
</head>
<body class="childrenBody">
<form class="layui-form" style="width: 100%;" id="dataFrm">
    <div class="layui-form-item layui-row layui-col-xs10">
        <label class="layui-form-label" style="white-space:nowrap">编号:</label>
        <div class="layui-input-block">
            <input  type="text"  class="layui-input" id="id"  name="id" disabled="disabled" style="border:none">
            </input>
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs10">
        <label class="layui-form-label">车牌号:</label>
        <div class="layui-input-block">
            <input type="text"  class="layui-input " id="carNo"  name="car.id" disabled="disabled" style="border:none">
            </input>
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs10">
        <label class="layui-form-label">费用名称:</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input fees_name" name="fees_name" disabled="disabled" style="border:none">
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs10">
        <label class="layui-form-label">缴费日期:</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input fees_date" name="fees_date" disabled="disabled"  style="border:none">
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs10">
        <label class="layui-form-label">缴费金额:</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input fees_amount" name="fees_amount" disabled="disabled" style="border:none">
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs10">
        <label class="layui-form-label">收费单位:</label>
        <div class="layui-input-block">
            <input type="text" id="currentUnitNo" name="currentUnit.id" class="layui-input" disabled="disabled" style="border:none">
            </input>
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs10">
        <label class="layui-form-label">经办人:</label>
        <div class="layui-input-block">
            <input type="text" id="userNo"  name="user.id" class="layui-input" disabled="disabled" style="border:none">
            </input>
        </div>
    </div>
    <div class="layui-form-item layui-row layui-col-xs10">
        <label class="layui-form-label">备注:</label>
        <div class="layui-input-block">
            <input type="text" class="layui-input remarks" name="remarks" lay-verify="required" disabled="disabled" style="border:none">
            </input>
        </div>
    </div>
</form>
<script type="text/javascript" src="resources/layui/layui/layui.js"></script>
<script th:inline="none">
    layui.use(['form','layer','laydate','table','laytpl','upload'],function() {
        var form = layui.form,
            layer = parent.layer === undefined ? layui.layer : top.layer,
            $ = layui.jquery,
            laydate = layui.laydate,
            laytpl = layui.laytpl,
            table = layui.table;
            upload=layui.upload;
        //生日框的时间插件绑定
        laydate.render({
            elem: ".fees_date" ,//指定元素
            // type:'datetime'
        });
        form.render('select');
    })
</script>
</body>
</html>